package com.test;

import com.sun.corba.se.impl.orbutil.concurrent.Sync;

/**
 * Created by 41579 on 2017/4/16.
 */
public class SyncRunnable implements Runnable {
    Integer lock = 1;
    SyncObj syncObj;
    public SyncRunnable(SyncObj syncObj){
        this.syncObj = syncObj;
    }
    @Override
    public void run() {
//        syncObj.execute();
//        syncObj.execute2();
//        syncObj.execute3();
          SyncObj.execute6();
//          syncObj.execute5();
    }


}
